#ifndef _VGASTR_T_H
#define _VGASTR_T_H
#include "type.h"

#define VGASTR_RAM_BASE (0xb8000)
#define VGASTR_RAM_END  (0xbffff)
#define VGADP_DFVL 0x0700
#define VGADP_HLVL 0x0f00

#define VGACTRL_REG_ADR (0x3d4)
#define VGACTRL_REG_DAT (0x3d5)

#define VGACURS_REG_INX (0x0A)
#define VGACURS_CLOSE  (0x20)

#define VGACHAR_LR_CFLG 10
#define VGACHAR_DF_CFLG 0


typedef struct s_CURSOR
{
    uint_t  vmem_s;
    uint_t  vmem_e;
    uint_t  cvmemadr;

    uint_t  x;
    uint_t  y;
}cursor_t;
#endif